package top.jiangyixin.food.platform.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
import top.jiangyixin.food.platform.order.pojo.model.OrderDetailModel;
import top.jiangyixin.food.platform.order.pojo.vo.OrderCreateVO;

/**
 * @author jiangyixin
 * @version 1.0
 * @date 2021/6/22 下午2:30
 */
public interface OrderService extends IService<OrderDetailModel> {
    
    /**
     * 创建订单
     * @param orderCreateVO orderCreateVO
     * @throws IOException IOException
     * @throws TimeoutException TimeoutException
     */
    void createOrder(OrderCreateVO orderCreateVO) throws IOException, TimeoutException;
}
